package com.zs.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p>
 * 学生查询工具类
 * </p>
 * @Author: Shun
 * @CreateTime: 2019-07-17 19:04
 * @Emil: 381889220@qq.com
 */
@Data
public class StudentDto {
    private String sname;
    private String ssex;
    private String sclassid;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date starTime;
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date endTime;
    private Integer page;
    private Integer limit;
}